<html><head><title>String.pb</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">;
</font><font color="#3A3966">; ------------------------------------------------------------
</font><font color="#3A3966">;
</font><font color="#3A3966">;   PureBasic - String example file
</font><font color="#3A3966">;
</font><font color="#3A3966">;    (c) Fantaisie Software
</font><font color="#3A3966">;
</font><font color="#3A3966">; ------------------------------------------------------------
</font><font color="#3A3966">;
</font>
c$ = &quot;Test&quot;
a$ =<font color="#3A3966"> Left</font>(c$,1)
a$ =<font color="#3A3966"> Mid</font>(c$,3, 1)

a =<font color="#3A3966"> Val</font>(&quot;-121212&quot;)

<font color="#3A3966">MessageRequester</font>(&quot;PureBasic&quot;, &quot;Welcome: &quot;+<font color="#3A3966">Mid</font>(<font color="#3A3966">Str</font>(a),2,3)+&quot; &quot;+a$, 0)
 </font></pre>
</body></html>
